var xhr = new XMLHttpRequest();
xhr.open("GET", `../php/index.php?hide=modify&id=${sessionStorage.id}`);
xhr.send(null);
xhr.onreadystatechange = () => {
    if (xhr.readyState == 4 && xhr.status == 200) {
        var data = JSON.parse(xhr.responseText);
        var inps=document.querySelectorAll("input");
        data.forEach((str,i,arr)=>{
            inps[i].value=arr[i];
        })
    }
}
